<script language="javascript" src="./include/js/validate.js"></script>
	<div id="nav">
		当前位置: <a href="?action=default">管理首页</a> <span>&gt;</span> 管理用户
	</div>
	<form id="theform" action="?action=user&op=editsave" method="post" class="block" enctype="multipart/form-data" onSubmit="return Validator.Validate(this,2);">
	<input name="id" type="hidden" value="<?=$adminArr[id]?>" />
	<table summary="" cellpadding="0" cellspacing="0" border="0" width="100%">
		<tr>
		<th style="padding-bottom: 5px; font-size: 12px; font-weight: bold;"><em>*为必填项</em></th>
		<td><font color="#FF0000">* 修改完用户名或密码需重新登陆</font></td>
		</tr>
		<tr>
		<th style="width: 7em;"><em>登陆帐号 *</em></th>
		<td><input name="name" type="text" id="name" size="40" maxlength="20" dataType='Require' msg='请填写用户名' value="<?=$adminArr[name]?>" /><div id="nametips" class="tips">用户名为编辑姓名的拼音</div></td>
		</tr>
		
		<th style="width: 7em;"><em>编辑笔名 *</em></th>
		<td><input name="editor" type="text" id="editor" size="40" maxlength="20" dataType='Require' msg='请填写编辑笔名' value="<?=$adminArr[editor]?>" /><div id="editortips" class="tips">用于显示在文章中</div></td>
		</tr>
		
		<tr>
		<th><em>密码 *<em></th>
		<td><input type="password" name="pass" size="33" /> <font color="#FF0000">* 不修改请留空</font></td>
		</tr>
		
		<tr>
		<th><em>再输一次密码 *<em></th>
		<td><input type="password" name="repass" size="33" dataType="Repeat" to="pass" msg="两次输入的密码不一致" /></td>
		</tr>
		
		<tr>
		<th>用户组</th>
		<td><input name="groups" type="radio" value="2|member|普通用户" <? if ($adminArr[groupid] == 2){?>checked<? }?> /> 普通用户<input name="groups" type="radio" value="1|system|管理员" <? if ($adminArr[groupid] == 1){?>checked<? }?> /> 管理员</td>
		</tr>
		
		<tr>
		<th>&nbsp;</th>
		<td>
		<button value="true" type="submit" name="adminedit" class="submit">提交保存</button></td>
		</tr>
	</table>
	</form>